//
//  OrderEntity.m
//  WHSport
//
//  Created by ccjoy-jimneylee on 15/5/7.
//  Copyright (c) 2015年 jimneylee. All rights reserved.
//

#import "OrderEntity.h"

@implementation OrderEntity

- (id)initWithAttributes:(NSDictionary *)attributes {
    self = [super init];
    
    if (self) {
        _ID = attributes[@"id"];
        _accountId = attributes[@"accountId"];
        _sportHallName = attributes[@"sportHallName"];
        _scheduledTime = attributes[@"scheduledTimeStr"];
        _sportsEvent = attributes[@"sportsEvent"];
        _totalPrice = attributes[@"totalPrice"];
        _orderNum = attributes[@"orderNum"];
    }
    
    return self;
}

@end
